Completed Edit functionality.