add delete and save methods to entities