save marker to database