added time on index and moved button on edit