changed last_commit datatype