New updated module; fixed bug with credentials update in db