added edit for games