* only calculate time on running builds * Add updated timestamp into database and use it in frontend * add more trace logging * refactor (move grpc unrelated func into related package) * fix xorm schema * add todo