Fixed creating new entries

update function do not request an id for not existing entires any longer.