server db updaing