Added some functiones like edit an entry