submission to database working with name and coords